Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SetConditionalFormatting Method / SetConditionalFormatting(CellRange[],IConditionalFormattingRule[]) Method
Cell ranges
Rules to apply for the specified range of cells


In This Topic
    SetConditionalFormatting(CellRange[],IConditionalFormattingRule[]) Method
    In This Topic
    Sets conditional formatting for a specified ranges of cells on the sheet based on specified rules.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetConditionalFormatting( _
       ByVal cellRanges() As CellRange, _
       ByVal ParamArray rules() As IConditionalFormattingRule _
    ) 
    'Usage
     
    
    Dim instance As SheetView
    Dim cellRanges() As CellRange
    Dim rules() As IConditionalFormattingRule
     
    instance.SetConditionalFormatting(cellRanges, rules)
    public void SetConditionalFormatting( 
       CellRange[] cellRanges,
       params IConditionalFormattingRule[] rules
    )

    Parameters

    cellRanges
    Cell ranges
    rules
    Rules to apply for the specified range of cells
    See Also